﻿@using com.subb.Tools.Pager;
@using WebUI.Extensions;

@model PagedList<WebEntities.WI_News>

@{
    ViewBag.Title = "员工风采";
    Layout = "~/Views/Shared/_DefLayout.cshtml";
}

<div class="topadimg"><img src="/Images/banner01.jpg" /></div>
<div class="subleft">
    <h2>
        <img src="/Images/subicon01.jpg" alt="" />
        <span>关于我们</span>
    </h2>
    @Html.Action("LeftMenu", new { muflag = "employee" })
</div>
<div class="subright">
    <div class="pagepath"><a href="/"><img src="/Images/homeicon.jpg" alt="首页" /></a> &gt; <a href="/aboutus">关于我们</a> &gt; <a href="/aboutus/employee">员工风采</a></div>
    <div class="pagehead2">员工风采</div>
    <div class="midcontent" id="empacts">
        <ul>
        @foreach (var news in Model)
        {
            <li>
                <div class="empactimg"><a href="/aboutus/empactnews/@news.NewsID" target="_blank"><img src="@news.NewsCover" alt="@news.NewsTitle" /></a></div>
                <div>@news.NewsTitle</div>
                <div class="cls"></div>
            </li>
        }
        </ul>
        <div class="cls"></div>
        @Html.Pager(Model, new PagerOptions
        {
           PageIndexParameterName = "id",
           CurrentPagerItemWrapperFormatString = "<span class=\"currpage\">{0}</span>", 
                NumericPagerItemWrapperFormatString = "<span class=\"pagenum\">{0}</span>", CssClass = "pager", SeparatorHtml = "" })
    </div>
</div>
<div class="cls"></div>


